package com.example.web;

import com.example.service.UserService;
import com.example.service.impl.UserServiceImpl;

/**表示层*/
public class UserAction {
    // 表示层调用业务层
    // private UserService userService = new UserServiceImpl();

    // 修改为
    private  UserService userService;
    public void deleteUser() {
        userService.deleteUser();
    }
}
